// JavaScript Document
$(function(){
 $('.NavLi').hover(function(){
	 $(this).find("#NavDown").stop(true,true).slideDown();
	 $(this).find(".b1").addClass("on");
	 },function(){
		 $(this).find("#NavDown").stop(true,true).slideUp();
		  $(this).find(".b1").removeClass("on");
		 });
});

	//右侧边栏


//回到顶部
function goTop(){
    $('html,body').animate({'scrollTop':0},600);
};
$(function(){

$('.side2 li').hover(function(){
    $(this).find('.weixin').stop().slideToggle();
})
});
//gotop
/*$(function(){
	gototop();
    function gototop(){
        var $bottomTools = $('.bottom_tools');
       
        $(window).scroll(function () {
            var scrollHeight = $(document).height();
            var scrollTop = $(window).scrollTop();
            var $windowHeight = $(window).innerHeight();
            scrollTop > 50 ? $("#scrollUp").fadeIn(200).css("display","block") : $("#scrollUp").fadeOut(200);
            $bottomTools.css("bottom", scrollHeight - scrollTop > $windowHeight ? 40 : $windowHeight + scrollTop + 40 - scrollHeight);
        });

        $('#scrollUp').click(function (e) {
            e.preventDefault();
            $('html,body').animate({ scrollTop:0});
        });

       
    }
})*/